Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added 'watch' script and updated JS dependencies #178

Merged
merged 4 commits into from
Aug 29, 2018
Merged

Added 'watch' script and updated JS dependencies #178

merged 4 commits into from
Aug 29, 2018

Conversation

seniorquico
Copy link
Contributor

This is a tweak to #175.

I've replaced the "dev" script with a "watch" script that uses watchify to continuously output the JS to the TestHost project folder. The proposed development workflow is as follows (in separate terminals):

$ cd App
$ npm install
$ npm run watchify

$ cd TestHost
$ dotnet run

With these running, simply refresh the browser page after saving a .js/.jsx file.

I also updated the JS dependencies. Notably, this now uses Babel 7 and the newer env preset. I'll also point out that the react-chartjs package appears to have issues with React 16. This package will need to stay pinned to React 15 until a fix or alternative is introduced.

@richorama richorama merged commit c9e61b4 into OrleansContrib:master Aug 29, 2018
@richorama
Copy link
Member

Awesome - thanks @seniorquico :¬)

@carloslazo
Copy link
Contributor

Thank you both. Works great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants